Categorical markets